package com.fsc.service;

import com.fsc.entity.domain.ChildSituation;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author 86183
* @description 针对表【child_situation(子女监控情况表)】的数据库操作Service
* @createDate 2024-06-02 13:15:22
*/
public interface ChildSituationService extends IService<ChildSituation> {

    void addChildSituation(ChildSituation childSituation);
    void deleteChildSituation(Integer id);

    List<ChildSituation> getVideosByClassId(int classId);
    void uploadVideo(int classId, MultipartFile file, String time) throws IOException;

    void updateVideo(Integer id, Integer classId, MultipartFile file, String time) throws IOException;
}
